package cn.seifly.demo.biz.system.dao.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

/**
 * 
 * @ClassName: SystemConfigDO
 * @Description: 配置表
 * @author: sxf
 * @date: 2025年11月09日 上午10:29:03
 */
@Data
@TableName("eb_system_config")
@Schema(description = "配置表")
public class SystemConfigDO  {

    @Schema(title = "配置id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(title ="字段名称")
    private String menuName;

    @Schema(title ="类型(文本框,单选按钮...)")
    private String type;

    @Schema(title ="表单类型")
    private String inputType;

    @Schema(title ="配置分类id")
    private Integer configTabId;

    @Schema(title ="规则 单选框和多选框")
    private String parameter;

    @Schema(title ="上传文件格式1单图2多图3文件")
    private Integer uploadType;

    @Schema(title ="规则")
    private String required;

    @Schema(title ="多行文本框的宽度")
    private Integer width;

    @Schema(title ="多行文框的高度")
    private Integer high;

//    @Schema(title ="默认值")
//    private String value;

    @Schema(title ="配置名称")
    private String info;

//    @Schema(title ="配置简介")
//    private String desc;

//    @Schema(title ="排序")
//    private Integer sort;

//    @Schema(title ="是否隐藏")
//    private Integer status;

//    @Schema(title ="配置层级0顶级1次级")
//    private Integer level;

    @Schema(title ="关联上级配置id")
    private Integer linkId;

    @Schema(title ="关联上级配置的值")
    private Integer linkValue;

}